export const foo = function(a = false) {
    return a === true ? 'true' : 'false'
}
console.log(foo())
console.log(foo(true))
